<?php //pack11class

class FooterBlock extends Module {

    public $last_update;
    public $under_construction;

    public function setup() {
        $label=LabelManager::getLabel("last_update");
        $update=SettingsManager::getSetting("last_update");
        if($update->value) {
            $this->last_update=$label.": ".date_format(date_create($update->value),"Y-m-d");
        } else {
            $this->last_update=$label.": ".date("Y-m-d");
        }
        $this->under_construction=LabelManager::getLabel("under_construction").'&nbsp;<a href="mailto:bugreport@dekaro.lv">'.LabelManager::getLabel("bug_report")."</a>";
    }

}
?>
